package com.dlnu.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;
import com.dlnu.config.Entity;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Visit extends Entity{

	private Integer id;

	@Length(max = 100)
	private String visitor;

	@Length(max = 100)
	private String phone;

	private Integer sex;

	@Length(max = 100)
	private String idcard;

	private Integer studentId;

	private Date visitTime;

	private Date leaveTime;

	@Length(max = 200)
	private String remark;

	private Student student;
}